package com.water.wfo.user.ability;


import com.water.wfo.sys.pojo.entity.UserEntity;
import com.water.wfo.sys.pojo.request.UserQueryRequest;
import com.water.wfo.sys.pojo.response.UserResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * packageName com.water.wfo.user.ability
 *
 * @author junhuili
 * @version JDK 8
 * @date 2024/5/20
 * @description TODO
 */
public interface UserAbility {
    int insert(UserEntity entity);

    int insertList(List<UserEntity> list);

    int deleteByloginId(Long loginId);

    void update(UserEntity user);

    List<UserEntity> queryAll(UserEntity user);

    UserEntity selectUserById(String loginId);

    UserResponse queryUserListInfo(UserQueryRequest request);

    int deleteBatchByIds(List<Long> ids);
}
